package com.google.code.b0rx0r.program;

import java.awt.Color;
import java.awt.datatransfer.DataFlavor;
import java.util.Set;

public interface Triggerable {
	public static final DataFlavor DATA_FLAVOR = new DataFlavor(Triggerable.class, "Element"); //$NON-NLS-1$

	public String getName();
	public void setName(String name);
	
	public Color getColor();
	public void setColor(Color color);
	
	/** midi note. -1 = not set */
	public int getNote();
	public void setNote(int note);
	
  public Set<OffsetSampleDataContainer> getSampleData();
  
	public void addTriggerableListener(TriggerableListener tl);
	public void removeTriggerableListener(TriggerableListener tl);
}
